from typing import TypeVar, Generic, Type

from module_stock.dao.base_dao import BaseDao

T = TypeVar('T' , bound= BaseDao)
class BaseService(Generic[T]):
    
    @classmethod
    def get_dao_class(cls) ->Type[T]:
        return Type[T]
